From: Chong Yidong Date: Tue, 9 Aug 2011 21:14:11 +0000 (-0400) Subject: Note in Lisp manual that mouse-face cannot change the text size. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2619 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3f3944ac00abb4fd2bb7bff1eb268e5860f85062;p=emacs.git Note in Lisp manual that mouse-face cannot change the text size. * doc/lispref/text.texi (Special Properties): * doc/lispref/display.texi (Overlay Properties): Note that mouse-face cannot change the text size. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 56efaea9d02..bff8ec79d4e 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,9 @@ +2011-08-09 Chong Yidong + + * text.texi (Special Properties): + * display.texi (Overlay Properties): Note that mouse-face cannot + change the text size (Bug#8530). + 2011-08-08 Chong Yidong * os.texi (Time of Day): Remove set-time-zone-rule, and recommend diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 077d0992232..64a9054f596 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -1454,7 +1454,10 @@ specify just the foreground color or just the background color. @item mouse-face @kindex mouse-face @r{(overlay property)} This property is used instead of @code{face} when the mouse is within -the range of the overlay. +the range of the overlay. However, Emacs ignores all face attributes +from this property that alter the text size (e.g. @code{:height}, +@code{:weight}, and @code{:slant}). Those attributes are always the +same as in the unhighlighted text. @item display @kindex display @r{(overlay property)} diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index b91afb044f0..2348e3706dc 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -3015,6 +3015,11 @@ near the character. For this purpose, ``near'' means that all text between the character and where the mouse is have the same @code{mouse-face} property value. +Emacs ignores all face attributes from the @code{mouse-face} property +that alter the text size (e.g. @code{:height}, @code{:weight}, and +@code{:slant}). Those attributes are always the same as for the +unhighlighted text. + @item fontified @kindex fontified @r{(text property)} This property says whether the text is ready for display. If